import { BrowserRouter, Route, Routes } from "react-router-dom"
import Layout from "./pages/layout/Layout";
import Home from "./pages/home/Home";
import NotFound from "./pages/404/index.jsx";

function App() {
  return (
    <BrowserRouter>

      <Routes>
        <Route path="/" element={<Layout />}>
          <Route index element={<Home />}></Route>
          <Route path="/home" element={<Home />}></Route>

        </Route>

        <Route path="*" element={<NotFound />}></Route>

      </Routes>
    </BrowserRouter>
  )
}

export default App;